package cn.com.headfree.sysmenu.entity;

import com.gta.edu.sdk.mybatis.common.Entity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 角色和菜单关联 sys_role_menu
 * 
 */
public class TSysRoleMenu extends Entity implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 角色ID */
    private String roleId;
    
    /** 菜单ID */
    private String menuId;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("roleId", getRoleId())
            .append("menuId", getMenuId())
            .toString();
    }
}
